using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Net.Core.Models.DbModel
{
    /// <summary>
    ///	Desc: 相亲活动
    /// </summary>
    [SugarTable("xiangqinhuodong")]
	public class XiangqinhuodongDbModel
	{           
		/// <summary>
		/// Desc: 主键Id
		/// </summary>
		[SugarColumn(IsPrimaryKey = true, ColumnName = "id")]
		public long Id { get; set; }
		/// <summary>
		/// Desc: 活动名称
		/// </summary>
		[SugarColumn(ColumnName = "huodongmingcheng")]
		public string Huodongmingcheng { get; set; }
		/// <summary>
		/// Desc: 活动图片
		/// </summary>
		[SugarColumn(ColumnName = "huodongtupian")]
		public string Huodongtupian { get; set; }
		/// <summary>
		/// Desc: 开始时间
		/// </summary>
        [SugarColumn(ColumnName = "kaishishijian")]
		public DateTime? Kaishishijian { get; set; }
		/// <summary>
		/// Desc: 结束时间
		/// </summary>
        [SugarColumn(ColumnName = "jieshushijian")]
		public DateTime? Jieshushijian { get; set; }
		/// <summary>
		/// Desc: 活动地点
		/// </summary>
		[SugarColumn(ColumnName = "huodongdidian")]
		public string Huodongdidian { get; set; }
		/// <summary>
		/// Desc: 活动内容
		/// </summary>
		[SugarColumn(ColumnName = "huodongneirong")]
		public string Huodongneirong { get; set; }
		/// <summary>
		/// Desc: 发布时间
		/// </summary>
        [SugarColumn(ColumnName = "fabushijian")]
		public DateTime? Fabushijian { get; set; }
		/// <summary>
		/// Desc: 赞
		/// </summary>
        [SugarColumn(ColumnName = "thumbsupnum")]
		public int? Thumbsupnum { get; set; } = 0;
		/// <summary>
		/// Desc: 踩
		/// </summary>
        [SugarColumn(ColumnName = "crazilynum")]
		public int? Crazilynum { get; set; } = 0;
		/// <summary>
		/// Desc: 收藏数量
		/// </summary>
        [SugarColumn(ColumnName = "storeupnum")]
		public int? Storeupnum { get; set; } = 0;

		/// <summary>
		/// Desc: 添加时间
		/// </summary>
		[SugarColumn(ColumnName = "addtime")]
		public DateTime? Addtime { get; set; } = DateTime.Now;

	}
}
